<?php

$app_modules["ff_email_mailinglist"] = array(
    'slug' => __('email_mailinglist'),
    'name' => __('Mailing Lists'),
    'icon' => 'letter_16.png',
    'menu_name' => __('Mail. List'),
    'singular_name' => __('Mailing List'),
    'module_columns_sortby' => array('post_title', 'post_date'),
    'module_columns' => array('post_title',  'post_date'),
    'module_new_categories' => array('cat15_mailinglist'),
    'metaboxes' => array(
        'team_notif' => array(
            'title' => __('Teams / Categories'),
            'context' => 'side',
            'priority' => 'high',
            'positioning' => array(
                /* 'main' => array(
                  array('assign_to'),
                  ), */

                'tabs' => array(
                    'tabltwo' => array(
                        'label' => 'Team & Notifications',
                        'items' => array(
                            array('team_assignments'),
                        )
                    ),
                    'tablone' => array(
                        'label' => 'Categories',
                        'items' => array(
                            array('categories_list'),
                        )
                    )
                )
            )
        ),
        'newsletter_information' => array(
            'title' => __('Mailign List Information'),
            'context' => 'advanced',
            'priority' => 'high', //send_newsletter
            'positioning' => array(
                'topbar' => array(
                    'special' => array('assign_to'),
                    'common' => array(
                        'delete_action' => true,
                        'status_action' => true,
                        'save_action' => true,)
                ),
                'main' => array(
                    array(
                        'account_parent', 'contact_parent'
                    ),
                    array(
                        'lead_parent'
                    ),
                    array(
                        'mailing_list'
                    ),
                    array(
                        'created_by', 'created_date', 'modified_date'
                    )
                ),
                'tabs' => array(
                    'tab_2' => array(
                        'label' => 'Description',
                        'items' => array(
                            array('full_description'),
                        )
                    ),
                    'tab_11' => array(
                        'label' => 'Comments',
                        'items' => array(
                            array('comments'),
                        )
                    )
                )
            )
        )
    )
);

